package com.ledong.hibernate.entity;

public class Person {
    private java.util.Date birthday;
    private Name name;
    private String key;

    public String getKey() {
        return key;
    }

    //TODO No.1 : 2012-04-05:15:30:00 why this setter method modifier is 'private'
    private void setKey(String key) {
        this.key = key;
    }

    public java.util.Date getBirthday() {
        return birthday;
    }

    public void setBirthday(java.util.Date birthday) {
        this.birthday = birthday;
    }

    public Name getName() {
        return name;
    }

    public void setName(Name name) {
        this.name = name;
    }

}